package com.neu.wangxiaoyang.service;

import com.neu.niuyuchao.util.ConvertUtil;
import com.neu.wangxiaoyang.dao.ImplVisitAddDao;

import java.util.HashMap;
import java.util.Map;

public class VisitAddService {
    ImplVisitAddDao dao =new ImplVisitAddDao();

    public int VisitSave(Map<String ,String []>map){
        int row=0;
        Map<String ,String >param=new HashMap<>();
        param=ConvertUtil.convert(map);
        row=dao.VisitSave(param);
        return row;
    }

}
